* {
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  font-size: 20px;
}
span.iconfont {
  font-size: 20px;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000;
}

/* 头部标题 */
header {
  width: 100%;
  height: 100px;
  overflow: hidden;
  position: relative;
  position: absolute;
  z-index: 11;
}
.head {
  position: absolute;
  right: 30px;
  bottom: 0;
}
header img {
  width: 500px;
  margin: auto;
}
.headnav {
  display: inline-block;
}
.headnav {
  margin-left: 50px;
}
.headnav span {
  margin-right: 10px;
  cursor: pointer;
}
.chageimg {
  display: inline-block;
}
.name img {
  filter: invert(100%);
}
.namespan {
  display: none;
  /* display: inline-block; */
}
.namespan .addname {
  margin-right: 0;
}
/* 头部标题 */
.search {
  width: 100%;
  height: 0px;
  background-color: black;
  transition: 2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 搜索框 */
/* 将body设为父级，解决遮盖不完全问题 */
.searchmask {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 500;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  border-top: 1px solid #fff;
}
.search_ipt {
  display: none;
}
.search_ipt span.icon-sousuo {
  color: #fff;
  cursor: pointer;
}
.search_ipt input {
  width: 500px;
  border: none;
  background-color: black;
  outline: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-size: 18px;
}
.search span.icon-shanchu {
  color: #fff;
  position: absolute;
  top: 40px;
  right: 60px;
  cursor: pointer;
}

.swiper-container img {
  width: 100%;
}
/* 购物袋 */
.car {
  width: 500px;
  height: 100%;
  background-color: #fff;
  cursor: pointer;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 11;
  display: none;
}
.car_title {
  font-size: 32px;
  font-weight: bold;
  margin-top: 60px;
  margin-left: 30px;
}
.car_ab {
  color: #bfbfbf;
  margin-left: 150px;
  margin-top: 120px;
}
span.icon-gouwudai1 {
  font-size: 200px;
}
.car p {
  margin-left: 20px;
}
.delbtn {
  width: 280px;
  height: 50px;
  margin-top: 150px;
  background-color: blue;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  margin: 20px auto;
  margin-left: -40px;
}
.car_msg {
  width: 100%;
  height: 84%;
  overflow: auto;
  margin: 20px 0;
}
/* 购物车 */
.car_msg li {
  padding: 15px 10px;
  border-bottom: 1px solid #dadada;
}

.car_msg li input {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}
.goods_li {
  display: flex;
}
.car_msg .goods_li {
  border-bottom: solid 1px #bfbfbf;
}
.li_img {
  width: 43%;
  margin-right: 50px;
}
.li_img img {
  width: 100%;
}
.goods_div p {
  margin-bottom: 10px;
}
.goods_div_name {
  font-size: 24px;
  font-weight: bold;
}
.liang {
  overflow: hidden;
  margin-bottom: 20px;
}
.liang p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.liang span {
  border: 1px solid black;
  text-align: center;
  display: block;
  float: left;
  height: 30px;
  line-height: 30px;
}
.jian_,
.jia_ {
  width: 60px;
  cursor: pointer;
}
.goods_nums {
  width: 100px;
}
.goods_div_del {
  width: 100px;
  height: 30px;
  margin-top: 10px;
  background-color: blue;
  color: #fff;
}
/* 结算 */
.topay {
  width: 300px;
  height: 50px;
  background-color: blue;
  line-height: 50px;
  background-color: #bfbfbfdc;
  bottom: 0;
  right: 0;
  border-radius: 10px;
  display: none;
  position: fixed;
}
.topay p {
  float: left;
  margin-left: 10px;
}
.paybtn {
  width: 120px;
  height: 50px;
  background-color: blue;
  opacity: 0.8;
  color: #fff;
  font-size: 20px;
  border-radius: 10px;
  float: right;
}
.topay span {
  font-size: 26px;
  font-weight: bold;
}
.quanxuan {
  display: none;
}
/* 登录 */
.login {
  width: 500px;
  height: 100%;
  background-color: #fff;
  cursor: pointer;
  float: right;
  /* display: none; */
}
.login span {
  margin-top: 30px;
  margin-left: 30px;
}
span.icon-denglu {
  font-size: 84px;
  color: #bfbfbf;
}
.login input {
  width: 400px;
  border: none;
  outline: none;
  background-color: #fff;
  border-bottom: 1px solid #000;
  font-size: 18px;
  display: block;
  margin: 0 auto;
  margin-top: 100px;
  padding-bottom: 20px;
  /* margin-bottom: 50px; */
}
.prompt {
  width: 400px;
  margin: 0 auto;
  margin-top: 10px;
  color: red;
  display: none;
}
.login button {
  width: 200px;
  height: 35px;
  margin: 50px auto;
  display: block;
  background-color: blue;
}
.login a {
  margin: 0 170px;
  border-bottom: 1px solid blue;
}
.login_mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  z-index: 11;
  display: none;
}
.login_else {
  width: 100%;
  height: 100%;
}
/* 指引 */
.pont {
  position: fixed;
  right: 50px;
  bottom: 80px;
  z-index: 11;
  color: #fff;
}
.up {
  width: 50px;
  height: 50px;
  background-color: black;
  border-radius: 30px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}
.contact {
  width: 35px;
  height: 150px;
  margin: 0 auto;
  background-color: black;
  margin-top: 10px;
  text-align: center;
  border-radius: 15px;
  padding-top: 10px;
}
/* 导航 */
.nav {
  position: absolute;
  margin-top: 100px;
  margin-left: 30px;
  z-index: 11;
}
.nav li {
  margin: 10px 0;
  cursor: pointer;
}
.ulnav {
  font-size: 16px;
  margin: 0 15px;
  display: none;
}
.navline {
  width: 60px;
}
.navline p {
  border-bottom: 2px solid black;
  margin-bottom: 15px;
  box-shadow: 2px 2px 0 gray;
}
.nav ul {
  display: none;
}
/* 能用css解决就不要想js了 */
span.icon-sanjiaoyou {
  font-size: 0px;
  position: absolute;
  left: 0px;
}
.ulnav li:hover span.icon-sanjiaoyou {
  font-size: 16px;
}
/* 商品详情 */
.details_goods {
  width: calc(100% - 400px);
  margin: auto;
  margin-top: 200px;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  text-align: center;
  /* background-color: green; */
  height: 800px;
}

/* 放大镜 */
.s_box {
  width: 400px;
  height: 520px;
  position: absolute;
  left: 200px;
}
.s_box img {
  width: 400px;
}
.s_box span {
  width: 130px;
  height: 100px;
  /* background: rgba(200, 200, 200, 0.5); */
  background-color: black;
  opacity: 0.5;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  cursor: move;
}

.b_box {
  width: 400px;
  height: 300px;
  overflow: hidden;
  position: absolute;
  left: 700px;
  display: none;
  margin-top: 50px;
  z-index: 11;
}
.b_box img {
  width: 250%;
  /* height: 300%; */
  position: absolute;
  left: 0;
  top: 0;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 200px;
  top: 730px;
}
.list li {
  float: left;
  margin: 0 10px;
  width: 150px;
  cursor: pointer;
}
.list li img {
  width: 100%;
}
/* 商品介绍 */
.goodsIntroduce {
  width: 550px;
  height: 300px;
  text-align: left;
}
.goodsIntroduce_name {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}
.goodsIntroduce_price {
  font-size: 32px;
  margin-bottom: 20px;
}
.goodsIntroduce_details {
  border-bottom: 1px solid #b3b0b0;
  padding-bottom: 50px;
  margin-bottom: 40px;
}
.discount li {
  margin-bottom: 20px;
}
.discount li:first-of-type {
  font-size: 34px;
  font-weight: bold;
}
.discount li:last-of-type {
  border-bottom: 1px solid #b3b0b0;
  padding-bottom: 50px;
  margin-bottom: 40px;
}
.goodsIntroduce button {
  width: 400px;
  height: 50px;
  clear: both;
  cursor: pointer;
}
.shuliang {
  overflow: hidden;
  margin-bottom: 20px;
}
.shuliang p {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}
.shuliang span {
  border: 1px solid black;
  text-align: center;
  display: block;
  float: left;
  height: 30px;
}
.jian,
.jia {
  width: 60px;
  cursor: pointer;
}
.goods_num {
  width: 100px;
}
